<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flex Align Examples</title>
<style>
  .flex-container {
    display: flex;
    margin-bottom: 10px; 
  }
  .flex-item {
    width: 100px;
    height: 100px;
    margin: 5px;
    background-color: #f1c40f;
  }

  .flex-container-center {
    justify-content: center;
  }

  .flex-container-space-between {
    justify-content: space-between;
  }
 
  .flex-container-space-around {
    justify-content: space-around;
  }
</style>
</head>
<body>


<div class="flex-container flex-container-center">
  <div class="flex-item">Item 1</div>
  <div class="flex-item">Item 2</div>
  <div class="flex-item">Item 3</div>
</div>


<div class="flex-container flex-container-space-between">
  <div class="flex-item">Item 1</div>
  <div class="flex-item">Item 2</div>
  <div class="flex-item">Item 3</div>
</div>


<div class="flex-container flex-container-space-around">
  <div class="flex-item">Item 1</div>
  <div class="flex-item">Item 2</div>
  <div class="flex-item">Item 3</div>
</div>

</body>
</html>